/* eslint-disable */
/*
 * 数据模拟
 * @Author: 389194069@qq.com
 * @Date: 2012-04-13 17:53:50
 * @Last Modified by: 389194069@qq.com
 * @Last Modified time: 2018-07-12 17:40:05
 */
import Mock from 'mockjs'

// 获取 mock.Random 对象
const Random = Mock.Random
// Mock.mock(/v2000/)
// Mock.mock( url, post/get , 返回的数据)；
Mock.mock(/v1\/login\/operatorLogin/, 'post', {
  //登录
  ret: 0,
  data: {
    optorCode: Random.id(),
    name: Random.cname(), // Random.cname() 随机生成一个常见的中文姓名
    createTime: Random.date() + ' ' + Random.time(), // Random.date()指示生成的日期字符串的格式,默认为yyyy-MM-dd；Random.time() 返回一个随机的时间字符串
    uid: Random.guid(),
    id: Random.id(),
    token: Random.guid()
  },
  token: Random.guid(),
  roleIds: '200,201,202,203,204,100,103,101,103,104,300,301,302,303',
  code: 200
});

Mock.mock(/service\/getUserAndRole/, 'post', {
  //获取用户角色
  ret: 0,
  data: {
    userInfo: {
      name: Random.cname(), // Random.cname() 随机生成一个常见的中文姓名
      createTime: Random.date() + ' ' + Random.time(), // Random.date()指示生成的日期字符串的格式,默认为yyyy-MM-dd；Random.time() 返回一个随机的时间字符串
      uid: Random.guid(),
      optorCode: Random.id(),
      id: Random.id()
    },
    role: {
      name: 'admin',
      permission: '200,201,202,203,204,100,103,101,103,104,300,301,302,303'
    }
  }
});

Mock.mock(/park\/list/, 'get', {
  //登录
  ret: 0,
  'data|20': [
    {
      parkname: () => Random.cname(), // Random.cname() 随机生成一个常见的中文姓名
      createTime: () => Random.date() + ' ' + Random.time(), // Random.date()指示生成的日期字符串的格式,默认为yyyy-MM-dd；Random.time() 返回一个随机的时间字符串
      id: () => Random.id(),
      address: () => Random.county(true),
      type: () => {
        let num = Math.floor(Math.random() * 4 + 1);
        switch (num) {
          case 1:
            return '混合停车场';
          case 2:
            return '路外停车泊位';
          case 3:
            return '路内停车泊位';
          case 4:
            return '路测停车场';
          default:
            return '';
        }
      },
      shanghu: () => Random.cword(4, 8),
      status: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iMFnBUEAk56Fjj6mup0/RbPTm8yNXlnIwZ5m3ue3XtxxxjgCiipXxM0eyZ//Z",
  msg: "操作成功",
  uuid: "4fd244f7ef7640119c4d082ed775d812",
  code: 200
});

Mock.mock(/dev-api\/sys\/login?username=admin&password=gmt123QWEasd@admin&code=rauq&uuid=ecdcd7398f2f4d53a34184a76fcf4035/, 'get', {
  //登录
  ret: 0,
  msg: "操作成功",
  code: 200,
  token: "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjViMzBlYzkwLThiMjgtNDdiYy1iMjMxLTgxZGNhZjVjOGZjMyJ9.5BTeNCp5y7bnyR_b7zn52skujllnF5GMIPBJM8_nq8EcGnOWwgBTTudJJhSE_YZ0W_YM82rS6jzU6ARYcPg3Cg"
});

Mock.mock(/dev-api\/sys\/getInfo/, 'get', {
  ret: 0,
  "msg": "操作成功",
  "code": 200,
  "permissions": [
    "*:*:*"
  ],
  "roles": [
    "admin"
  ],
  "user": {
    "searchValue": null,
    "createBy": "admin",
    "createTime": "2018-03-16 03:33:00",
    "updateBy": null,
    "updateTime": null,
    "remark": "管理员",
    "dataScope": null,
    "userId": 1,
    "deptId": 100,
    "userName": "admin",
    "nickName": "管理员",
    "email": "admin@163.com",
    "phonenumber": "15888888888",
    "sex": "0",
    "avatar": "/profile/avatar/2020/04/24/4565a90c4a065edfa021e32e610a74f8.jpeg",
    "password": "$2a$10$20Zv4ytwJXegceAcl34VkeR6g2Lz/0YPxErp5oEg5GyjrrytJg8eG",
    "salt": null,
    "status": "0",
    "delFlag": "0",
    "loginIp": "127.0.0.1",
    "loginDate": "2018-03-16T03:33:00.000+0000",
    "dept": {
      "searchValue": null,
      "createBy": null,
      "createTime": null,
      "updateBy": null,
      "updateTime": null,
      "remark": null,
      "dataScope": null,
      "deptId": 100,
      "parentId": 0,
      "ancestors": null,
      "deptName": "测试环境",
      "orderNum": "0",
      "leader": "summer",
      "phone": null,
      "email": null,
      "status": "0",
      "delFlag": null,
      "parentName": null,
      "unionId": null,
      "username": null,
      "password": null,
      "type": null,
      "children": []
    },
    "roles": [
      {
        "searchValue": null,
        "createBy": null,
        "createTime": null,
        "updateBy": null,
        "updateTime": null,
        "remark": null,
        "dataScope": "1",
        "roleId": 1,
        "roleName": "管理员",
        "roleKey": "admin",
        "roleSort": "1",
        "status": "0",
        "delFlag": null,
        "flag": false,
        "menuIds": null,
        "deptIds": null,
        "admin": true
      }
    ],
    "roleIds": null,
    "postIds": null,
    "rc4pass": null,
    "jiesuan": null,
    "admin": true
  }
});

// 获取菜单
Mock.mock(/dev-api\/sys\/getRouters/, 'get', {
  ret: 0,
  "msg": "操作成功",
  "code": 200,
  "data": [
    {
      "name": "首页",
      "path": "/",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "首页",
        "icon": "dashboard"
      },
      "children": [
        {
          "name": "首页",
          "path": "index",
          "component": "index",
          "meta": {
            "title": "首页",
            "icon": "dashboard"
          }
        }
      ]
    },
    {
      "name": "基础信息管理",
      "path": "/basicinfo",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "基础信息管理",
        "icon": "basicinfo"
      },
      "children": [
        {
          "name": "小区信息管理",
          "path": "cominfo",
          "component": "basicinfo/cominfo/index",
          "meta": {
            "title": "小区信息管理",
            "icon": "region"
          }
        },
        {
          "name": "楼栋管理",
          "path": "houses",
          "component": "basicinfo/houses/index",
          "meta": {
            "title": "楼栋管理",
            "icon": "house"
          }
        },
        {
          "name": "单元管理",
          "path": "unit",
          "component": "basicinfo/unit/index",
          "meta": {
            "title": "单元管理",
            "icon": "unit"
          }
        },
        {
          "name": "房间管理",
          "path": "room",
          "component": "basicinfo/room/index",
          "meta": {
            "title": "房间管理",
            "icon": "room"
          }
        },
        {
          "name": "接收员管理",
          "path": "accepter",
          "component": "basicinfo/accepter/index",
          "meta": {
            "title": "接收员管理",
            "icon": "people"
          }
        },
        {
          "name": "住户信息管理",
          "path": "user",
          "component": "basicinfo/user/index",
          "meta": {
            "title": "住户信息管理",
            "icon": "peoples"
          }
        },
        {
          "name": "住户自助登记审核",
          "path": "audit",
          "component": "basicinfo/audit/index",
          "meta": {
            "title": "住户自助登记审核",
            "icon": "logininfor"
          }
        },
        {
          "name": "人脸授权",
          "path": "face",
          "component": "basicinfo/face/index",
          "meta": {
            "title": "人脸授权",
            "icon": "people"
          }
        }
      ]
    },
    {
      "name": "产品管理",
      "path": "/engin",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "产品管理",
        "icon": "#"
      },
      "children": [
        {
          "name": "产品分类",
          "path": "category",
          "component": "engin/category/index",
          "meta": {
            "title": "产品分类",
            "icon": "#"
          }
        },
        {
          "name": "产品系列",
          "path": "range",
          "component": "engin/range/index",
          "meta": {
            "title": "产品系列",
            "icon": "#"
          }
        },
        {
          "name": "产品列表",
          "path": "product",
          "component": "engin/product/index",
          "meta": {
            "title": "产品列表",
            "icon": "#"
          }
        },
        {
          "name": "订单管理",
          "path": "tradeOrder",
          "component": "engin/order/index",
          "meta": {
            "title": "订单管理",
            "icon": "#"
          }
        },
        {
          "name": "零件管理",
          "path": "parts",
          "component": "engin/parts/index",
          "meta": {
            "title": "零件管理",
            "icon": "#"
          }
        }
      ]
    },
    {
      "name": "运营管理",
      "path": "/operation",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "运营管理",
        "icon": "monitor"
      },
      "children": [
        {
          "name": "门禁卡管理",
          "path": "accessCard",
          "component": "operation/accessCard/index",
          "meta": {
            "title": "门禁卡管理",
            "icon": "skill"
          }
        },
        {
          "name": "访客管理",
          "path": "visitor",
          "component": "operation/visitor/index",
          "meta": {
            "title": "访客管理",
            "icon": "people"
          }
        },
        {
          "name": "通行管理",
          "path": "goThrough",
          "component": "operation/goThrough/index",
          "meta": {
            "title": "通行管理",
            "icon": "example"
          }
        },
        {
          "name": "运营账单管理",
          "path": "runFee",
          "component": "operation/operationFee/index",
          "meta": {
            "title": "运营账单管理",
            "icon": "form"
          }
        },
        {
          "name": "运营规则管理",
          "path": "operationList",
          "component": "operation/operationRule/index",
          "meta": {
            "title": "运营规则管理",
            "icon": "list"
          }
        },
        {
          "name": "缴费管理",
          "path": "pay",
          "component": "operation/pay/index",
          "meta": {
            "title": "缴费管理",
            "icon": "money"
          }
        },
        {
          "name": "意见反馈管理",
          "path": "feedback",
          "component": "operation/feedback/index",
          "meta": {
            "title": "意见反馈管理",
            "icon": "email"
          }
        },
        {
          "name": "缴费规则管理",
          "path": "paymentRules",
          "component": "operation/paymentRules/index",
          "meta": {
            "title": "缴费规则管理",
            "icon": "fm"
          }
        },
        {
          "name": "出入口管理",
          "path": "inOut",
          "component": "operation/inOut/index",
          "meta": {
            "title": "出入口管理",
            "icon": "in-out"
          }
        },
        {
          "name": "故障报修管理",
          "path": "repairs",
          "component": "operation/repairs/index",
          "meta": {
            "title": "故障报修管理",
            "icon": "tool"
          }
        },
        {
          "name": "公告管理",
          "path": "notice",
          "component": "operation/notice/index",
          "meta": {
            "title": "公告管理",
            "icon": "message"
          }
        }
      ]
    },
    {
      "name": "设备管理",
      "path": "/equipment",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "设备管理",
        "icon": "equipment"
      },
      "children": [
        {
          "name": "门禁设备管理",
          "path": "access",
          "component": "equipment/access/index",
          "meta": {
            "title": "门禁设备管理",
            "icon": "phone"
          }
        },
        {
          "name": "设备流量管理",
          "path": "flow",
          "component": "equipment/flow/index",
          "meta": {
            "title": "设备流量管理",
            "icon": "druid"
          }
        },
        {
          "name": "安防设备管理",
          "path": "security",
          "component": "equipment/security/index",
          "meta": {
            "title": "安防设备管理",
            "icon": "tree"
          }
        },
        {
          "name": "监控设备管理",
          "path": "monitoring",
          "component": "equipment/monitoring/index",
          "meta": {
            "title": "监控设备管理",
            "icon": "eye-open"
          }
        }
      ]
    },
    {
      "name": "广告管理",
      "path": "/operations",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "广告管理",
        "icon": "ad"
      },
      "children": [
        {
          "name": "广告信息",
          "path": "advert",
          "component": "operation/advert/index",
          "meta": {
            "title": "广告信息",
            "icon": "advert"
          }
        },
        {
          "name": "广告数据",
          "path": "advertData",
          "component": "operation/advertData/index",
          "meta": {
            "title": "广告数据",
            "icon": "adData"
          }
        },
        {
          "name": "点击记录",
          "path": "advertRecord",
          "component": "operation/advertRecord/index",
          "meta": {
            "title": "点击记录",
            "icon": "ad"
          }
        },
        {
          "name": "乐刷广告",
          "path": "leShua",
          "component": "operation/leShua/index",
          "meta": {
            "title": "乐刷广告",
            "icon": "ad"
          }
        }
      ]
    },
    {
      "name": "停车场管理",
      "path": "/park",
      "component": "park/index",
      "meta": {
        "title": "停车场管理",
        "icon": "park"
      }
    },
    {
      "name": "财务管理",
      "path": "http://ntest.gateares.com:19994/wsn/portal/portalInterface.html",
      "component": "finance/index",
      "meta": {
        "title": "财务管理",
        "icon": "form"
      }
    },
    {
      "name": "短信管理",
      "path": "/sms",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "短信管理",
        "icon": "message"
      },
      "children": [
        {
          "name": "短信记录",
          "path": "record",
          "component": "sms/record/index",
          "meta": {
            "title": "短信记录",
            "icon": "message"
          }
        },
        {
          "name": "短信统计",
          "path": "statistical",
          "component": "sms/statistical/index",
          "meta": {
            "title": "短信统计",
            "icon": "message"
          }
        }
      ]
    },
    {
      "name": "运维管理",
      "path": "/ops",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "运维管理",
        "icon": "operation"
      },
      "children": [
        {
          "name": "机房管理",
          "path": "opsZone",
          "component": "ops/zone/index",
          "meta": {
            "title": "机房管理",
            "icon": "#"
          }
        },
        {
          "name": "数据审核",
          "path": "check",
          "component": "ops/dataCheck/index",
          "meta": {
            "title": "数据审核",
            "icon": "#"
          }
        }
      ]
    },
    {
      "name": "清分管理",
      "path": "/clear",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "清分管理",
        "icon": "clear"
      },
      "children": [
        {
          "name": "账户管理",
          "path": "account",
          "component": "clear/account/index",
          "meta": {
            "title": "账户管理",
            "icon": "account"
          }
        },
        {
          "name": "清分规则管理",
          "path": "clarify",
          "component": "clear/clarify/index",
          "meta": {
            "title": "清分规则管理",
            "icon": "clarify"
          }
        }
      ]
    },
    {
      "name": "新物联网",
      "path": "/newCommunity",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "新物联网",
        "icon": "international"
      },
      "children": [
        {
          "name": "设备管理",
          "path": "deviceList",
          "component": "newCommunity/deviceList/index",
          "meta": {
            "title": "设备管理",
            "icon": "documentation"
          }
        },
        {
          "name": "设备组管理",
          "path": "deviceGroup",
          "component": "newCommunity/deviceGroup/index",
          "meta": {
            "title": "设备组管理",
            "icon": "basicinfo"
          }
        },
        {
          "name": "住户信息管理",
          "path": "registeredUsers",
          "component": "newCommunity/registeredUsers/index",
          "meta": {
            "title": "住户信息管理",
            "icon": "peoples"
          }
        },
        {
          "name": "门禁卡管理",
          "path": "entranceGuard",
          "component": "newCommunity/entranceGuard/index",
          "meta": {
            "title": "门禁卡管理",
            "icon": "password"
          }
        },
        {
          "name": "通行管理",
          "path": "goThrough",
          "component": "operation/goThrough/index",
          "meta": {
            "title": "通行管理",
            "icon": "example"
          }
        }
      ]
    },
    {
      "name": "系统管理",
      "path": "/system",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "系统管理",
        "icon": "system"
      },
      "children": [
        {
          "name": "用户管理",
          "path": "user",
          "component": "system/user/index",
          "meta": {
            "title": "用户管理",
            "icon": "user"
          }
        },
        {
          "name": "角色管理",
          "path": "role",
          "component": "system/role/index",
          "meta": {
            "title": "角色管理",
            "icon": "peoples"
          }
        },
        {
          "name": "菜单管理",
          "path": "menu",
          "component": "system/menu/index",
          "meta": {
            "title": "菜单管理",
            "icon": "tree-table"
          }
        },
        {
          "name": "部门管理",
          "path": "dept",
          "component": "system/dept/index",
          "meta": {
            "title": "部门管理",
            "icon": "tree"
          }
        },
        {
          "name": "岗位管理",
          "path": "post",
          "component": "system/post/index",
          "meta": {
            "title": "岗位管理",
            "icon": "post"
          }
        },
        {
          "name": "字典管理",
          "path": "dict",
          "component": "system/dict/index",
          "meta": {
            "title": "字典管理",
            "icon": "dict"
          }
        },
        {
          "name": "参数设置",
          "path": "config",
          "component": "system/config/index",
          "meta": {
            "title": "参数设置",
            "icon": "edit"
          }
        },
        {
          "name": "样式设置",
          "path": "style",
          "component": "system/style/index",
          "meta": {
            "title": "样式设置",
            "icon": "dashboard"
          }
        }
      ]
    },
    {
      "name": "运维监控",
      "path": "https://ntest.gateares.com/socp/#/opsTotal",
      "component": "ops/dashboard/index",
      "meta": {
        "title": "运维监控",
        "icon": "fm"
      }
    },
    {
      "name": "维修订单",
      "path": "/order",
      "redirect": "noRedirect",
      "component": "Layout",
      "alwaysShow": true,
      "meta": {
        "title": "维修订单",
        "icon": "order"
      },
      "children": [
        {
          "name": "订单列表",
          "path": "order",
          "component": "order/index",
          "meta": {
            "title": "订单列表",
            "icon": "#"
          }
        }
      ]
    },
    {
      "name": "运维监控(原)",
      "path": "/opsTotal",
      "component": "ops/dashboard/index",
      "meta": {
        "title": "运维监控(原)",
        "icon": "#"
      }
    }
  ]
});

// 获取ai参数
Mock.mock(/dev-api\/ops\/ai\/community\/service\/station\/serviceStation\/count/, 'get', {
  //登录
  ret: 0,
  code: 200,
  message: "成功",
  data: 0
});

// 获取ai参数
Mock.mock(/dev-api\/ops\/ai\/community\/service\/station\/iotProject\/count/, 'get', {
  ret: 0,
  code: 200,
  message: "成功",
  data: 0
});
// 获取ai参数
Mock.mock(/dev-api\/ops\/ai\/community\/service\/station\/device\/count/, 'get', {
  ret: 0,
  code: 200,
  "message": "成功",
  "data": 668
});
// 获取ai参数
Mock.mock(/dev-api\/ops\/ai\/community\/service\/station\/alarmDevice\/count/, 'get', {
  ret: 0,
  code: 200,
  "message": "成功",
  "data": 66
});
// 获取ai参数
Mock.mock(/dev-api\/ops\/robot\/alarm\/selectAlarmPageByRegionId/, 'post', {
  ret: 0,
  code: 200,
  "message": "成功",
  "data": [
    {
      "size": 10,
      "current": 1,
      "id": 1719365158343676000,
      "recordId": null,
      "robotId": 1696370425879203800,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 22:46:13",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 22:46:13",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试4",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719364525590974500,
      "recordId": null,
      "robotId": 1696360425467285500,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 22:43:42",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 22:43:42",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试3",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719352653118574600,
      "recordId": null,
      "robotId": 1696370425879203800,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 21:56:31",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 21:56:31",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试4",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719350852591947800,
      "recordId": null,
      "robotId": 1696403194818728000,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 21:49:22",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 21:49:22",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试5",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719348687894876200,
      "recordId": null,
      "robotId": 1696344551406571500,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 21:40:46",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 21:40:46",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试2",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719345486915309600,
      "recordId": null,
      "robotId": 1682331909264380000,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 21:28:03",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 21:28:03",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试0",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719344196235694000,
      "recordId": null,
      "robotId": 1696403194818728000,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 21:22:55",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 21:22:55",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试5",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719343244938186800,
      "recordId": null,
      "robotId": 1696403194818728000,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 21:19:08",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 21:19:08",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试5",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719339039934517200,
      "recordId": null,
      "robotId": 1696409197954076700,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 21:02:26",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 21:02:26",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试6",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719337790224863200,
      "recordId": null,
      "robotId": 1696409197954076700,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 20:57:28",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 20:57:28",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试6",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719333482146173000,
      "recordId": null,
      "robotId": 1696360425467285500,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 20:40:20",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 20:40:20",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试3",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719329475981873200,
      "recordId": null,
      "robotId": 1696344551406571500,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 20:24:25",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 20:24:25",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试2",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719328134526013400,
      "recordId": null,
      "robotId": 1696409197954076700,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 20:19:06",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 20:19:06",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试6",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719324125811576800,
      "recordId": null,
      "robotId": 1696403194818728000,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 20:03:10",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 20:03:10",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试5",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    },
    {
      "size": 10,
      "current": 1,
      "id": 1719320353370673200,
      "recordId": null,
      "robotId": 1696403194818728000,
      "level": 2,
      "type": null,
      "description": "物联网模块上线告警！！！阈值：Go，告警值：1",
      "notifier": "1",
      "notifyTime": "2023-10-31 19:48:10",
      "handleStatus": 0,
      "handleTime": null,
      "handler": null,
      "handlerPhone": null,
      "handleResult": null,
      "createTime": "2023-10-31 19:48:10",
      "updateTime": null,
      "province": "广东省",
      "city": "深圳市",
      "county": "龙岗区",
      "regionId": "b1e0af0a8d0c4c35a5040bada7c79a18",
      "regionName": "卢工",
      "zoneId": 1622775540958236700,
      "zoneName": "D栋机器人培训",
      "robotName": "温湿度测试5",
      "pointNum": null,
      "deviceName": null,
      "pic": null,
      "propertyValue": null,
      "temp": null,
      "imei": null,
      "categoryName": null,
      "modelCode": null,
      "equipmentCode": null,
      "propertyCode": null,
      "propertyName": null,
      "propertyUnit": null,
      "startTime": null,
      "endTime": null
    }
  ],
  "total": 3806,
  "size": 15,
  "current": 1,
  "pages": 241
});
// 获取ai参数
Mock.mock(/dev-api\/ops\/ai\/community\/service\/station\/energy\/consumption\/situation/, 'get', {
  ret: 0,
  code: 200,
  "message": "成功",
  "data": {
    "xAxis": [
      "08",
      "09",
      "10"
    ],
    "yNum": [
      "542.74",
      "1042.55",
      "1408.48"
    ]
  }
});
// // 获取ai参数
// Mock.mock(/dev-api\/ops\/ai\/community\/service\/station\/energy\/consumption\/situation/, 'get', {
//   ret: 0,
//   code: 200,
//   "message": "成功",
//   "data": {
//     "xAxis": [
//       "08",
//       "09",
//       "10"
//     ],
//     "yNum": [
//       "542.74",
//       "1042.55",
//       "1408.48"
//     ]
//   }
// });
// Mock.mock(/getparkinfo/, 'get', {
//   //登录
//   ret: 0,
//   data: {
//     people: () => Random.province(), // Random.cname() 随机生成一个常见的中文姓名
//     parkname: () => Random.cname(),
//     type: () => '路测停车场',
//     tel: () => '13113667777',
//     address: () => '深圳市福田区',
//     lal: () => '123.23,323.23',
//     fixcar: () => '10',
//     total: () => '100'
//   }
// });

// Mock.mock(/start/, 'get', {
//   ret: 0,
//   msg: 'ok'
// });
// Mock.mock(/del/, 'get', {
//   ret: 0,
//   msg: 'ok'
// });
// Mock.mock(/v1\/parking\/photograph/, 'get', {
//   ret: 0,
//   key: '123123',
//   uploadUrl:
//     'http://p94klnnto.bkt.clouddn.com/880edbb9-a951-4fed-b019-10b6f68efb85'
// });
// Mock.mock(/v1\/parking\/exceptionInOut/, 'post', {
//   ret: 0
// });

// Mock.mock(/v1\/term\/findList/, 'get', {
//   //登录
//   ret: 0,
//   list: [
//     {
//       recordCode: Random.id(),
//       hardwareCode: Random.id(),
//       secretyKey: Random.time(), // Random.cname() 随机生成一个常见的中文姓名
//       requireCode: Random.time(), // Random.date()指示生成的日期字符串的格式,默认为yyyy-MM-dd；Random.time() 返回一个随机的时间字符串
//       remark: 0,
//       status: 1,
//       markInvalid: 1
//     },
//     {
//       recordCode: Random.id(),
//       hardwareCode: Random.id(),
//       secretyKey: Random.time(), // Random.cname() 随机生成一个常见的中文姓名
//       requireCode: Random.time(), // Random.date()指示生成的日期字符串的格式,默认为yyyy-MM-dd；Random.time() 返回一个随机的时间字符串
//       remark: 0,
//       status: 0,
//       markInvalid: 1
//     }
//   ]
// });
